<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: Window.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('_window_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">Window.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &quot;Color.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;Cursor.h&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;Layer.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;Menu.h&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &quot;Screen.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &quot;UIElement.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="keyword">namespace </span>sw</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span>{</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>    <span class="keyword">enum class</span> WindowState {</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>        Normal,    <span class="comment">// 普通窗口</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>        Minimized, <span class="comment">// 最小化窗口</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>        Maximized, <span class="comment">// 最大化窗口</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>    };</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>    <span class="keyword">enum class</span> WindowStartupLocation {</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>        Manual,       <span class="comment">// 使用系统默认或手动设置</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>        CenterScreen, <span class="comment">// 屏幕中心</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>        CenterOwner,  <span class="comment">// 所有者窗口中心，只在ShowDialog时有效</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    };</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span> </div>
<div class="foldopen" id="foldopen00033" data-start="{" data-end="};">
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html">   33</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classsw_1_1_window.html">Window</a> : <span class="keyword">public</span> <a class="code hl_class" href="classsw_1_1_layer.html">Layer</a></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>        <span class="keywordtype">bool</span> _isFirstShow = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>        <span class="keywordtype">double</span> _maxWidth = -1, _maxHeight = -1, _minWidth = -1, _minHeight = -1;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>        WindowStartupLocation _startupLocation = WindowStartupLocation::Manual;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>        <a class="code hl_class" href="classsw_1_1_window.html">Window</a> *_modalOwner = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>        <a class="code hl_class" href="classsw_1_1_menu.html">sw::Menu</a> *_menu = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> _hPrevFocused = <a class="code hl_class" href="classsw_1_1_dictionary.html">NULL</a>;</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>        std::shared_ptr&lt;LayoutHost&gt; _layout;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a53a830719caa870a49934419c6b231a3">   75</a></span>        <span class="keyword">static</span> <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;Window *&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a53a830719caa870a49934419c6b231a3">ActiveWindow</a>;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a317c7f1dea4dd3f29d5d7c865563c310">   80</a></span>        <span class="keyword">static</span> <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;int&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a317c7f1dea4dd3f29d5d7c865563c310">WindowCount</a>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a4a09a7ec772a2febfcda54b9aa6a8557">   85</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;WindowStartupLocation&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a4a09a7ec772a2febfcda54b9aa6a8557">StartupLocation</a>;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a257ba940703f41b12990678bb3ff0e0e">   90</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;WindowState&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a257ba940703f41b12990678bb3ff0e0e">State</a>;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a518c14e6ddbf171489a86baff4cbb6a3">   95</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a518c14e6ddbf171489a86baff4cbb6a3">SizeBox</a>;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a6852326120a03242ffef09aa3bae9e09">  100</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a6852326120a03242ffef09aa3bae9e09">MaximizeBox</a>;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#aa9476a0b4bff312e523bba76aa82b96b">  105</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#aa9476a0b4bff312e523bba76aa82b96b">MinimizeBox</a>;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a1a15faeb81c21aa3327dcd8fefdc5ffd">  110</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a1a15faeb81c21aa3327dcd8fefdc5ffd">Topmost</a>;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#ac61382d82d410403dc2a9bc0afe49f38">  115</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#ac61382d82d410403dc2a9bc0afe49f38">ToolWindow</a>;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a881e11126ef89b4b0badb890c8f7ac21">  120</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a881e11126ef89b4b0badb890c8f7ac21">MaxWidth</a>;</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a64ad0c8611945758af32b7681a74a0f7">  125</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a64ad0c8611945758af32b7681a74a0f7">MaxHeight</a>;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#aa39df901ba7c3d77ac013ccdf6caf161">  130</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#aa39df901ba7c3d77ac013ccdf6caf161">MinWidth</a>;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span> </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#aa9782debda43bce7438531290aa509ae">  135</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#aa9782debda43bce7438531290aa509ae">MinHeight</a>;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a27de84e46eda2bccca6f5b2f30fb3117">  140</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;sw::Menu *&gt;</a> <a class="code hl_variable" href="classsw_1_1_window.html#a27de84e46eda2bccca6f5b2f30fb3117">Menu</a>;</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a24eed02d394d13b368f5cf99b2a68c44">  146</a></span>        <a class="code hl_function" href="classsw_1_1_window.html#a24eed02d394d13b368f5cf99b2a68c44">Window</a>();</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span> </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>    <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a5c4a30ad5dd71cba0de201846867de25">  152</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">LRESULT</a> <a class="code hl_function" href="classsw_1_1_window.html#a5c4a30ad5dd71cba0de201846867de25">WndProc</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">refMsg</a>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#abafe422b0435aa15ec04ced4300b6b76">  157</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classsw_1_1_layout_host.html">LayoutHost</a> *<a class="code hl_function" href="classsw_1_1_window.html#abafe422b0435aa15ec04ced4300b6b76">GetDefaultLayout</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a50969fbd9f30ad27e72f11cb28ee4697">  163</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_window.html#a50969fbd9f30ad27e72f11cb28ee4697">OnClose</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a09165434040ada6ea3f00a7d79b1f7a2">  169</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_window.html#a09165434040ada6ea3f00a7d79b1f7a2">OnDestroy</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#adfcacbd8da1c33b53a16990c76d86079">  176</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_window.html#adfcacbd8da1c33b53a16990c76d86079">OnEraseBackground</a>(<span class="keywordtype">int</span> &amp;result) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#afa57e21216664a6fa3f9fdf04dad7a7d">  182</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_window.html#afa57e21216664a6fa3f9fdf04dad7a7d">OnPaint</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a8ff6176f2fb886593f448b430c21fc90">  188</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a8ff6176f2fb886593f448b430c21fc90">OnMenuCommand</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span> </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a35a8bd930f1cf8a85204569f00b33f34">  193</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a35a8bd930f1cf8a85204569f00b33f34">OnFirstShow</a>();</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a2403f422df1271f56f2ef574d91f232d">  198</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a2403f422df1271f56f2ef574d91f232d">OnActived</a>();</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a9f8bea034629f087944e9b33af60d9ec">  203</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a9f8bea034629f087944e9b33af60d9ec">OnInactived</a>();</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a850c77ff7a3271e6d2bc77258c2ed11d">  210</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a850c77ff7a3271e6d2bc77258c2ed11d">OnDpiChanged</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dpiX</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">dpiY</a>);</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span> </div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a3281c944ffc505243ff2b958b42e6fa7">  216</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a3281c944ffc505243ff2b958b42e6fa7">Show</a>();</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span> </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a37bc59a8775b6f39e244cdd6f82d5e51">  222</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a37bc59a8775b6f39e244cdd6f82d5e51">ShowDialog</a>(<a class="code hl_class" href="classsw_1_1_window.html">Window</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">owner</a>);</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a9046c167eb2a1572f420ecd5bd8aef1c">  228</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a9046c167eb2a1572f420ecd5bd8aef1c">SetIcon</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HICON</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hIcon</a>);</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a3daeab5c99e045449a8a5f086c19877e">  233</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a3daeab5c99e045449a8a5f086c19877e">DrawMenuBar</a>();</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a1cdd78ebe0571b1c9bb49403ed8d8381">  239</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_window.html#a1cdd78ebe0571b1c9bb49403ed8d8381">IsModal</a>();</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span> </div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#abff0275ae90d22951d40b769f952d415">  244</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#abff0275ae90d22951d40b769f952d415">SizeToContent</a>();</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span> </div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno">  249</span>        <span class="keyword">template</span> &lt;</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span>            <span class="keyword">typename</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">TLayout</a>,</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span>            <span class="keyword">typename</span> std::enable_if&lt;std::is_base_of&lt;LayoutHost, TLayout&gt;::value, <span class="keywordtype">int</span>&gt;::type = 0&gt;</div>
<div class="foldopen" id="foldopen00252" data-start="{" data-end="}">
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#abdf47e48c8a4e9d9c368cb549ba3d938">  252</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#abdf47e48c8a4e9d9c368cb549ba3d938">SetLayout</a>()</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span>        {</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span>            <span class="keyword">auto</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">layout</a> = std::make_shared&lt;TLayout&gt;();</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span>            <a class="code hl_class" href="classsw_1_1_dictionary.html">layout</a>-&gt;Associate(<span class="keyword">this</span>);</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>            this-&gt;_layout = <a class="code hl_class" href="classsw_1_1_dictionary.html">layout</a>;</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span>            this-&gt;<a class="code hl_function" href="classsw_1_1_u_i_element.html#ab5832ef956cdc4face3e9dbd0c72e66e">NotifyLayoutUpdated</a>();</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span>        }</div>
</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span> </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>        <span class="keyword">template</span> &lt;std::<span class="keywordtype">nullptr</span>_t&gt;</div>
<div class="foldopen" id="foldopen00264" data-start="{" data-end="}">
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"><a class="line" href="classsw_1_1_window.html#a236c7f298b6bbb432ce7c3c82a5eaacd">  264</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_window.html#a236c7f298b6bbb432ce7c3c82a5eaacd">SetLayout</a>()</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>        {</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span>            this-&gt;_layout = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span>            this-&gt;<a class="code hl_function" href="classsw_1_1_u_i_element.html#ab5832ef956cdc4face3e9dbd0c72e66e">NotifyLayoutUpdated</a>();</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span>        }</div>
</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span>    };</div>
</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>}</div>
<div class="ttc" id="aclasssw_1_1_dictionary_html"><div class="ttname"><a href="classsw_1_1_dictionary.html">sw::Dictionary</a></div><div class="ttdoc">字典类，内部维护了一个指向std::map的智能指针</div><div class="ttdef"><b>Definition</b> Dictionary.h:24</div></div>
<div class="ttc" id="aclasssw_1_1_layer_html"><div class="ttname"><a href="classsw_1_1_layer.html">sw::Layer</a></div><div class="ttdoc">表示可以设置布局方式的元素类型，如窗口、面板等</div><div class="ttdef"><b>Definition</b> Layer.h:13</div></div>
<div class="ttc" id="aclasssw_1_1_layout_host_html"><div class="ttname"><a href="classsw_1_1_layout_host.html">sw::LayoutHost</a></div><div class="ttdoc">用于托管元素的布局方式的对象类型，是所有布局方式类型的基类</div><div class="ttdef"><b>Definition</b> LayoutHost.h:11</div></div>
<div class="ttc" id="aclasssw_1_1_menu_html"><div class="ttname"><a href="classsw_1_1_menu.html">sw::Menu</a></div><div class="ttdoc">菜单</div><div class="ttdef"><b>Definition</b> Menu.h:11</div></div>
<div class="ttc" id="aclasssw_1_1_u_i_element_html_ab5832ef956cdc4face3e9dbd0c72e66e"><div class="ttname"><a href="classsw_1_1_u_i_element.html#ab5832ef956cdc4face3e9dbd0c72e66e">sw::UIElement::NotifyLayoutUpdated</a></div><div class="ttdeci">void NotifyLayoutUpdated()</div><div class="ttdoc">通知顶级窗口布局改变</div></div>
<div class="ttc" id="aclasssw_1_1_window_html"><div class="ttname"><a href="classsw_1_1_window.html">sw::Window</a></div><div class="ttdoc">窗口</div><div class="ttdef"><b>Definition</b> Window.h:34</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a09165434040ada6ea3f00a7d79b1f7a2"><div class="ttname"><a href="classsw_1_1_window.html#a09165434040ada6ea3f00a7d79b1f7a2">sw::Window::OnDestroy</a></div><div class="ttdeci">virtual bool OnDestroy() override</div><div class="ttdoc">接收到WM_DESTROY时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a1a15faeb81c21aa3327dcd8fefdc5ffd"><div class="ttname"><a href="classsw_1_1_window.html#a1a15faeb81c21aa3327dcd8fefdc5ffd">sw::Window::Topmost</a></div><div class="ttdeci">const Property&lt; bool &gt; Topmost</div><div class="ttdoc">窗口是否置顶</div><div class="ttdef"><b>Definition</b> Window.h:110</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a1cdd78ebe0571b1c9bb49403ed8d8381"><div class="ttname"><a href="classsw_1_1_window.html#a1cdd78ebe0571b1c9bb49403ed8d8381">sw::Window::IsModal</a></div><div class="ttdeci">bool IsModal()</div><div class="ttdoc">窗口是否显示为模态窗口</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a236c7f298b6bbb432ce7c3c82a5eaacd"><div class="ttname"><a href="classsw_1_1_window.html#a236c7f298b6bbb432ce7c3c82a5eaacd">sw::Window::SetLayout</a></div><div class="ttdeci">void SetLayout()</div><div class="ttdoc">取消通过SetLayout设置的布局方式</div><div class="ttdef"><b>Definition</b> Window.h:264</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a2403f422df1271f56f2ef574d91f232d"><div class="ttname"><a href="classsw_1_1_window.html#a2403f422df1271f56f2ef574d91f232d">sw::Window::OnActived</a></div><div class="ttdeci">virtual void OnActived()</div><div class="ttdoc">窗口成为前台窗口时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a24eed02d394d13b368f5cf99b2a68c44"><div class="ttname"><a href="classsw_1_1_window.html#a24eed02d394d13b368f5cf99b2a68c44">sw::Window::Window</a></div><div class="ttdeci">Window()</div><div class="ttdoc">初始化窗口</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a257ba940703f41b12990678bb3ff0e0e"><div class="ttname"><a href="classsw_1_1_window.html#a257ba940703f41b12990678bb3ff0e0e">sw::Window::State</a></div><div class="ttdeci">const Property&lt; WindowState &gt; State</div><div class="ttdoc">窗口状态</div><div class="ttdef"><b>Definition</b> Window.h:90</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a27de84e46eda2bccca6f5b2f30fb3117"><div class="ttname"><a href="classsw_1_1_window.html#a27de84e46eda2bccca6f5b2f30fb3117">sw::Window::Menu</a></div><div class="ttdeci">const Property&lt; sw::Menu * &gt; Menu</div><div class="ttdoc">窗口顶部的菜单栏</div><div class="ttdef"><b>Definition</b> Window.h:140</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a317c7f1dea4dd3f29d5d7c865563c310"><div class="ttname"><a href="classsw_1_1_window.html#a317c7f1dea4dd3f29d5d7c865563c310">sw::Window::WindowCount</a></div><div class="ttdeci">static const ReadOnlyProperty&lt; int &gt; WindowCount</div><div class="ttdoc">当前已创建的窗口数</div><div class="ttdef"><b>Definition</b> Window.h:80</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a3281c944ffc505243ff2b958b42e6fa7"><div class="ttname"><a href="classsw_1_1_window.html#a3281c944ffc505243ff2b958b42e6fa7">sw::Window::Show</a></div><div class="ttdeci">void Show()</div><div class="ttdoc">显示窗口</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a35a8bd930f1cf8a85204569f00b33f34"><div class="ttname"><a href="classsw_1_1_window.html#a35a8bd930f1cf8a85204569f00b33f34">sw::Window::OnFirstShow</a></div><div class="ttdeci">virtual void OnFirstShow()</div><div class="ttdoc">窗口第一次显示时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a37bc59a8775b6f39e244cdd6f82d5e51"><div class="ttname"><a href="classsw_1_1_window.html#a37bc59a8775b6f39e244cdd6f82d5e51">sw::Window::ShowDialog</a></div><div class="ttdeci">void ShowDialog(Window &amp;owner)</div><div class="ttdoc">将窗体显示为模式对话框</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a3daeab5c99e045449a8a5f086c19877e"><div class="ttname"><a href="classsw_1_1_window.html#a3daeab5c99e045449a8a5f086c19877e">sw::Window::DrawMenuBar</a></div><div class="ttdeci">void DrawMenuBar()</div><div class="ttdoc">重回窗口的菜单栏</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a4a09a7ec772a2febfcda54b9aa6a8557"><div class="ttname"><a href="classsw_1_1_window.html#a4a09a7ec772a2febfcda54b9aa6a8557">sw::Window::StartupLocation</a></div><div class="ttdeci">const Property&lt; WindowStartupLocation &gt; StartupLocation</div><div class="ttdoc">窗口初次启动的位置</div><div class="ttdef"><b>Definition</b> Window.h:85</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a50969fbd9f30ad27e72f11cb28ee4697"><div class="ttname"><a href="classsw_1_1_window.html#a50969fbd9f30ad27e72f11cb28ee4697">sw::Window::OnClose</a></div><div class="ttdeci">virtual bool OnClose() override</div><div class="ttdoc">接收到WM_CLOSE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a518c14e6ddbf171489a86baff4cbb6a3"><div class="ttname"><a href="classsw_1_1_window.html#a518c14e6ddbf171489a86baff4cbb6a3">sw::Window::SizeBox</a></div><div class="ttdeci">const Property&lt; bool &gt; SizeBox</div><div class="ttdoc">窗口是否可调整大小</div><div class="ttdef"><b>Definition</b> Window.h:95</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a53a830719caa870a49934419c6b231a3"><div class="ttname"><a href="classsw_1_1_window.html#a53a830719caa870a49934419c6b231a3">sw::Window::ActiveWindow</a></div><div class="ttdeci">static const ReadOnlyProperty&lt; Window * &gt; ActiveWindow</div><div class="ttdoc">程序的当前活动窗体</div><div class="ttdef"><b>Definition</b> Window.h:75</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a5c4a30ad5dd71cba0de201846867de25"><div class="ttname"><a href="classsw_1_1_window.html#a5c4a30ad5dd71cba0de201846867de25">sw::Window::WndProc</a></div><div class="ttdeci">virtual LRESULT WndProc(const ProcMsg &amp;refMsg) override</div><div class="ttdoc">对WndProc的封装</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a64ad0c8611945758af32b7681a74a0f7"><div class="ttname"><a href="classsw_1_1_window.html#a64ad0c8611945758af32b7681a74a0f7">sw::Window::MaxHeight</a></div><div class="ttdeci">const Property&lt; double &gt; MaxHeight</div><div class="ttdoc">最大高度，当值不大于0时表示不限制</div><div class="ttdef"><b>Definition</b> Window.h:125</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a6852326120a03242ffef09aa3bae9e09"><div class="ttname"><a href="classsw_1_1_window.html#a6852326120a03242ffef09aa3bae9e09">sw::Window::MaximizeBox</a></div><div class="ttdeci">const Property&lt; bool &gt; MaximizeBox</div><div class="ttdoc">最大化按钮是否可用</div><div class="ttdef"><b>Definition</b> Window.h:100</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a850c77ff7a3271e6d2bc77258c2ed11d"><div class="ttname"><a href="classsw_1_1_window.html#a850c77ff7a3271e6d2bc77258c2ed11d">sw::Window::OnDpiChanged</a></div><div class="ttdeci">virtual void OnDpiChanged(int dpiX, int dpiY)</div><div class="ttdoc">接收到WM_DPICHANGED时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a881e11126ef89b4b0badb890c8f7ac21"><div class="ttname"><a href="classsw_1_1_window.html#a881e11126ef89b4b0badb890c8f7ac21">sw::Window::MaxWidth</a></div><div class="ttdeci">const Property&lt; double &gt; MaxWidth</div><div class="ttdoc">最大宽度，当值不大于0时表示不限制</div><div class="ttdef"><b>Definition</b> Window.h:120</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a8ff6176f2fb886593f448b430c21fc90"><div class="ttname"><a href="classsw_1_1_window.html#a8ff6176f2fb886593f448b430c21fc90">sw::Window::OnMenuCommand</a></div><div class="ttdeci">virtual void OnMenuCommand(int id) override</div><div class="ttdoc">当OnCommand接收到菜单命令时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a9046c167eb2a1572f420ecd5bd8aef1c"><div class="ttname"><a href="classsw_1_1_window.html#a9046c167eb2a1572f420ecd5bd8aef1c">sw::Window::SetIcon</a></div><div class="ttdeci">void SetIcon(HICON hIcon)</div><div class="ttdoc">设置图标</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_a9f8bea034629f087944e9b33af60d9ec"><div class="ttname"><a href="classsw_1_1_window.html#a9f8bea034629f087944e9b33af60d9ec">sw::Window::OnInactived</a></div><div class="ttdeci">virtual void OnInactived()</div><div class="ttdoc">窗口成为后台窗口时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_aa39df901ba7c3d77ac013ccdf6caf161"><div class="ttname"><a href="classsw_1_1_window.html#aa39df901ba7c3d77ac013ccdf6caf161">sw::Window::MinWidth</a></div><div class="ttdeci">const Property&lt; double &gt; MinWidth</div><div class="ttdoc">最小宽度，当值不大于0时表示不限制</div><div class="ttdef"><b>Definition</b> Window.h:130</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_aa9476a0b4bff312e523bba76aa82b96b"><div class="ttname"><a href="classsw_1_1_window.html#aa9476a0b4bff312e523bba76aa82b96b">sw::Window::MinimizeBox</a></div><div class="ttdeci">const Property&lt; bool &gt; MinimizeBox</div><div class="ttdoc">最小化按钮是否可用</div><div class="ttdef"><b>Definition</b> Window.h:105</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_aa9782debda43bce7438531290aa509ae"><div class="ttname"><a href="classsw_1_1_window.html#aa9782debda43bce7438531290aa509ae">sw::Window::MinHeight</a></div><div class="ttdeci">const Property&lt; double &gt; MinHeight</div><div class="ttdoc">最小高度，当值不大于0时表示不限制</div><div class="ttdef"><b>Definition</b> Window.h:135</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_abafe422b0435aa15ec04ced4300b6b76"><div class="ttname"><a href="classsw_1_1_window.html#abafe422b0435aa15ec04ced4300b6b76">sw::Window::GetDefaultLayout</a></div><div class="ttdeci">virtual LayoutHost * GetDefaultLayout() override</div><div class="ttdoc">获取默认布局对象</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_abdf47e48c8a4e9d9c368cb549ba3d938"><div class="ttname"><a href="classsw_1_1_window.html#abdf47e48c8a4e9d9c368cb549ba3d938">sw::Window::SetLayout</a></div><div class="ttdeci">void SetLayout()</div><div class="ttdoc">设置窗口的默认布局方式</div><div class="ttdef"><b>Definition</b> Window.h:252</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_abff0275ae90d22951d40b769f952d415"><div class="ttname"><a href="classsw_1_1_window.html#abff0275ae90d22951d40b769f952d415">sw::Window::SizeToContent</a></div><div class="ttdeci">void SizeToContent()</div><div class="ttdoc">调整窗口尺寸以适应其内容大小，只对设置了布局方式的顶级窗口有效</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_ac61382d82d410403dc2a9bc0afe49f38"><div class="ttname"><a href="classsw_1_1_window.html#ac61382d82d410403dc2a9bc0afe49f38">sw::Window::ToolWindow</a></div><div class="ttdeci">const Property&lt; bool &gt; ToolWindow</div><div class="ttdoc">是否显示为ToolWindow (窄边框)</div><div class="ttdef"><b>Definition</b> Window.h:115</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_adfcacbd8da1c33b53a16990c76d86079"><div class="ttname"><a href="classsw_1_1_window.html#adfcacbd8da1c33b53a16990c76d86079">sw::Window::OnEraseBackground</a></div><div class="ttdeci">virtual bool OnEraseBackground(int &amp;result) override</div><div class="ttdoc">接收到WM_ERASEBKGND时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_window_html_afa57e21216664a6fa3f9fdf04dad7a7d"><div class="ttname"><a href="classsw_1_1_window.html#afa57e21216664a6fa3f9fdf04dad7a7d">sw::Window::OnPaint</a></div><div class="ttdeci">virtual bool OnPaint() override</div><div class="ttdoc">接收到WM_PAINT时调用该函数</div></div>
<div class="ttc" id="astructsw_1_1_proc_msg_html"><div class="ttname"><a href="structsw_1_1_proc_msg.html">sw::ProcMsg</a></div><div class="ttdoc">对Windows窗口消息的封装</div><div class="ttdef"><b>Definition</b> ProcMsg.h:10</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_01fcd3835fb4e7d9331b722d86291b65.html">sw</a></li><li class="navelem"><a class="el" href="dir_ed5f6ece24ffcc4307a76d27c2494db3.html">inc</a></li><li class="navelem"><b>Window.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
